$(function(){
    showCondition(true);
	getQuotas("ybbDepGroup", loadData, "depgroupallhosp-ul");	
	function loadData(totalQuota){
		// 全院指标 (1.Hosp 2.All)  参数 4.为jsp中的div的id 5.jsp中ul的id
		loadHospQuota("Hosp",totalQuota,"depgroupallhospQuotasId","depgroupallhosp-ul","ybDepGroupTotal");
		// 加载指标的div 参数 4.为jsp中的div的id 5.jsp中ul的id
	    loadDRGsQuota(totalQuota,"depGroup","科室组","depGroupQuotasId","depgroup-ul");
	    // 科室组指标的数据加载 
	    loadDRGsQuotaData(totalQuota,"depGroup",false,"ybDepGroupDetail");
	}
});


